<?php /* Smarty version 2.3.0, created on 2011-08-24 14:42:07
         compiled from Default/stadistics_surveys.tpl */ ?>
<table   align="center" bgcolor="#F3F3F3" style="BORDER-RIGHT:#999 1px solid; border-bottom:#999 1px solid; border-left:#999 1px solid; 
        border-top:#999 1px solid;" width="953" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr> 
	<td height="19" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <!--DWLayoutTable-->
	  <tr>
	    <td width="20" height="19" valign="top" bgcolor="#333333" style="border-bottom:#999999 2px solid;"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="644" valign="middle" bgcolor="#333333" style="border-bottom:#999999 2px solid;" class="style2">Estadisticas</td>
	    <td width="268" valign="middle" bgcolor="#333333" style="border-bottom:#999999 2px solid;" class="style2" align="right"><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/index.php" class="blanco">[Pagina Principal]</a></td>
	    <td width="19" valign="top" bgcolor="#333333" style="border-bottom:#999999 2px solid;"><!--DWLayoutEmptyCell-->&nbsp;</td>
	  </tr>
    </table></td>
  </tr>
  <tr>
    <td  width="15" height="115" valign="top"  ><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="936" valign="top"><table   width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="875" height="26">&nbsp;</td>
          <td width="61">&nbsp;</td>
        </tr>
      <tr>
        <td height="57" valign="top"><table class="centro" width="100%" border="1" bordercolor="#999999" cellpadding="1" cellspacing="2">
          <!--DWLayoutTable-->
          <tr>
            <td width="360" height="28" valign="middle"  ><strong>Encuesta</strong></td>
                <td width="78" valign="middle" ><strong>Resultados</strong></td>
                <td width="87" valign="top" ><strong>Resultados en tabla </strong></td>
                <td width="79" valign="top" ><strong>Resultados Graficos </strong></td>
                <td width="81" valign="middle" ><strong>Exp. Resultados </strong></td>
                <td width="51" valign="top" ><strong>Exp. v. Texto </strong></td>
                <td width="93" valign="middle" ><strong>Exp. V. Numericos </strong></td>
              </tr>
			  <?php if (isset($this->_sections["s"])) unset($this->_sections["s"]);
$this->_sections["s"]['name'] = "s";
$this->_sections["s"]['loop'] = is_array($this->_tpl_vars['survey']['all_surveys']['sid']) ? count($this->_tpl_vars['survey']['all_surveys']['sid']) : max(0, (int)$this->_tpl_vars['survey']['all_surveys']['sid']);
$this->_sections["s"]['show'] = (bool)"TRUE";
$this->_sections["s"]['max'] = $this->_sections["s"]['loop'];
$this->_sections["s"]['step'] = 1;
$this->_sections["s"]['start'] = $this->_sections["s"]['step'] > 0 ? 0 : $this->_sections["s"]['loop']-1;
if ($this->_sections["s"]['show']) {
    $this->_sections["s"]['total'] = $this->_sections["s"]['loop'];
    if ($this->_sections["s"]['total'] == 0)
        $this->_sections["s"]['show'] = false;
} else
    $this->_sections["s"]['total'] = 0;
if ($this->_sections["s"]['show']):

            for ($this->_sections["s"]['index'] = $this->_sections["s"]['start'], $this->_sections["s"]['iteration'] = 1;
                 $this->_sections["s"]['iteration'] <= $this->_sections["s"]['total'];
                 $this->_sections["s"]['index'] += $this->_sections["s"]['step'], $this->_sections["s"]['iteration']++):
$this->_sections["s"]['rownum'] = $this->_sections["s"]['iteration'];
$this->_sections["s"]['index_prev'] = $this->_sections["s"]['index'] - $this->_sections["s"]['step'];
$this->_sections["s"]['index_next'] = $this->_sections["s"]['index'] + $this->_sections["s"]['step'];
$this->_sections["s"]['first']      = ($this->_sections["s"]['iteration'] == 1);
$this->_sections["s"]['last']       = ($this->_sections["s"]['iteration'] == $this->_sections["s"]['total']);
?>
          <tr>
            <td height="24" valign="middle" >
			<?php echo $this->_sections['s']['iteration']; ?>
. <a href="#" onClick="window.open('<?php echo $this->_tpl_vars['conf']['html']; ?>
/survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveys']['sid'][$this->_sections['s']['index']]; ?>
','mywindow','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');" class="negro"><?php echo $this->_tpl_vars['survey']['all_surveys']['name'][$this->_sections['s']['index']]; ?>
</a>
			</td>
                <td valign="middle"  ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/stadistics.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveys']['sid'][$this->_sections['s']['index']]; ?>
"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/resul.jpg" width="13" height="12" border="0"></a></td>
                <td valign="middle"  ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/results_table.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveys']['sid'][$this->_sections['s']['index']]; ?>
"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/rtable.gif" width="23" height="17" border="0"></a></td>
                <td valign="middle"  ><a href="#" onClick="window.open('<?php echo $this->_tpl_vars['conf']['html']; ?>
/results.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveys']['sid'][$this->_sections['s']['index']]; ?>
','mywindow','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/torta.gif" width="18" height="18" border="0"></a></td>
                <td valign="middle"  ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/results_csv.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveys']['sid'][$this->_sections['s']['index']]; ?>
"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/exportar.jpg" width="18" height="18" border="0"></a></td>
                <td valign="middle"  ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/results_csv.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveys']['sid'][$this->_sections['s']['index']]; ?>
&export_type=1"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/exText.jpg" width="20" height="18" border="0"></a></td>
                <td valign="middle"  ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/results_csv.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveys']['sid'][$this->_sections['s']['index']]; ?>
&export_type=2"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/exNum.jpg" width="18" height="16" border="0"></a></td>
              </tr>
         <?php endfor; else: ?>
            There are no stadistics surveys at this time.
		<?php endif; ?> 
          
         
          
          
          
          
          
          
          </table></td>
          <td>&nbsp;</td>
        </tr>
      <tr>
        <td height="29">&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      
      
      
      
    </table></td>
  </tr>
  
  <tr>
    <td height="26" colspan="2" valign="top"  ><table style="border-top:#999 1px solid;"  width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
       <td height="26" align="center" valign="middle" bgcolor="#EBEBEB" style="border-top:#D7D7D7 2px solid; border-bottom:#D7D7D7 2px solid;">
	   <strong> <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/index.php" class="negro">[Pagina Principal]</a></strong></td>
      </tr>
    </table></td>
  </tr>
</table>